package com.charles.video.system.mapper;

import com.charles.video.system.vo.CommentDataVo;
import com.charles.video.system.vo.SearchCommentForm;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Charles-H
 * <p>
 * 评论回复数据层
 */
@Mapper
public interface VideoCommentsReplyMapper {

    /**
     * 获取回复评论数据
     */
    List<CommentDataVo> queryCommentData(SearchCommentForm searchCommentForm);

    boolean deleteComment(Long commentId);

    /**
     * 获取父评论ID
     */
    Long queryParentId(Long commentId);

}
